package project.parser.ast.aux;

import project.parser.ast.exps.Ident;
import project.parser.ast.types.Type;

public class Param {
	private final Type type;
	private final Ident id;

	public Param(Type type, Ident id) {
		this.type = type;
		this.id = id;
	}

	public Type getType() {
		return type;
	}

	public Ident getId() {
		return id;
	}

	@Override
	public String toString() {
		return type + " " + id;
	}
}
